<%--
  Created by IntelliJ IDEA.
  User: lqj
  Date: 2020/12/14
  Time: 2:11 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

${param.username},${param.password}<br>
${paramValues.get("password")}
 <%
     Cookie cookie = new Cookie("username", "张三");
     cookie.setMaxAge(60*60*24);
     response.addCookie(cookie);
 %>

</body>
</html>
